<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilskey: xilskey_efuseps_zynqmp_example.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilskey
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xilskey__efuseps__zynqmp__example_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">xilskey_efuseps_zynqmp_example.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file illustrates how to program ZynqMp efuse and read back the keys from efuse. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who     Date     Changes
</p>
<hr/>
<p>
4.0   vns     10/01/15 First release
      vns     10/20/15 Modified XilSKey_EfusePs_Example_ReadSecCtrlBits API
                       while reading RSA authentication and PPK revokes bits
                       status it may return 0 or BOTH_BITS_SET. So in place
                       of TRUE added BOTH_BITS_SET.
6.0   vns     07/18/16 Removed JTAG user code programming and reading feature
                       as it is not the part of the eFUSE 3.0 silicon.
                       Modified XilSKey_ZynqMp_EfusePs_ReadUserKey function
                       to XilSKey_ZynqMp_EfusePs_ReadUserFuse.
                       Provided single bit programming facility for User
                       FUSES. Modified RSA authentication bit set macro
                       BOTH_BITS_SET to XSK_ZYNQMP_SEC_RSA_15BITS_SET and
                       XSK_ZYNQMP_SEC_RSA_3BITS_SET, from silicon version
                       3.0 RSA authentication is possible only if all 15
                       bits of RSA authentication bits are set, for 1.0 and
                       2.0 versions only 2 bits are needed, for PPK0 REVOKE
                       check added new macro XSK_ZYNQMP_SEC_PPK_INVLD_BITS_SET
6.2   vns      03/10/17 Added support for programming and reading
                        LDP SC EN, FPD SC EN, LBIST, reading some of
                        reserved bits, modified names of secure control bits
                        Provided DNA read API call in example.
6.4   vns      02/19/18 Removed <a class="el" href="group__xilskey__zynqmp__efuse.html#gaba4a03dfa30f51139e6db70eac6583be" title="This function reloads the cache of eFUSE so that can be directly read from cache. ...">XilSKey_ZynqMp_EfusePs_CacheLoad()</a> call as
                        now library is been updated to reload cache after
                        successful programming of the requested efuse bits.
6.7     psl      03/13/19 Added XSK_EFUSEPS_CHECK_AES_KEY_CRC, to check for
                                                  AES key CRC if TRUE.
            psl      03/28/19 Corrected typos
      psl      04/10/19 Fixed IAR warnings.
6.8   psl      07/17/19 Added print to display CRC of AES key for CRC
                        verification.
7.0   kpt      09/02/20 Added successfully ran print to the example in
                        case of success
7.1   kpt      05/11/21 Added BareMetal support for programming PUF Fuses as
                        general purpose fuses
      kpt      05/21/21 Added print before programming PPK hash into non-zero
                        PPK efuses
7.5   ng       07/13/23 Added support for system device tree flow
      ng       08/31/23 removed redundant header file inclusion</pre><pre></pre> </div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
